- เครดิต
- 203
- ความรู้
-
- เงิน $
-
- ความดี
-
|
ช่วยหน่อยขอร้องละ
ผมทำสคริปเรียกรถแล้ว Eror อ่ะ ช่วยแก้ให้ที
นี่รายการที่ eror
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(48043) : warning 219: local variable "plocy" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(48043) : warning 219: local variable "plocz" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(51682) : warning 219: local variable "plocx" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(51682) : warning 219: local variable "plocy" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(51682) : warning 219: local variable "plocz" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53462) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53464) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53467) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53473) : error 021: symbol already defined: "ProxDetector"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53475) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53480) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53482) : warning 203: symbol is never used: "plocx"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53482) : warning 203: symbol is never used: "plocy"
C:\Documents and Settings\Administrator\My Documents\Downloads\Compressed\server\gamemodes\got.pwn(53482) : warning 203: symbol is never used: "plocz"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
ส่วนนี่ ตัวสคริป
if(strcmp(cmd, "/infernus", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float:plocx,Float:plocy,Float:plocz;
if (PlayerInfo[playerid][pPnumber] == 999999) xxxx ¤×ÍàºÍÃì¢Í§¼ÙéºÃÔ¨Ò¤
{
GetPlayerPos(playerid, plocx, plocy, plocz);
SetVehiclePos(1044,plocx,plocy+4, plocz); // 11 ¤×ÍàŢö·Õè¤Ø³¹ÑºÁÒ äÁèµéͧàÅÕ¹Ẻ
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s ä´éàÃÕ¡ö¢Í§à¢ÒÍÍ¡ÁÒáÅéÇ",sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèãªèà¨éҢͧö!");
}
}
return 1;
}
|
|