help with 2 errors please -
salev13 - 10.05.2014
The errors:
C:\Users\shalev\Desktop\ъйчйд згщд (2)\SuperDM\filterscripts\Vehicle-System.pwn(3
: error 017: undefined symbol "File_Remove"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\SuperDM\filterscripts\Vehicle-System.pwn(51) : error 017: undefined symbol "C"
The lines:
28~38:
if(!strcmp(cmdtext,"/Sellcar",true))
{
File_Open(PlayerCar(playerid));
if(File_GetInt("HaveCar") == 1)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,-1,"
??
?
?");
File_Write(PlayerCar(playerid));
File_WriteInt("HaveCar",0);
File_WriteFinish(PlayerCar(playerid));
FAC_GivePlayerMoney(playerid,File_GetInt("Sell"));
File_Remove(PlayerCar(playerid));
49~56:
public OnPlayerEnterCheckpoint(playerid)
{
if(CPS_IsPlayerInCheckpoint(playerid,C))
{
ShowPlayerDialog(playerid,CarShopDialog,DIALOG_STY LE_LIST,"Car Shop -
?
??","1. NRG - 500[15000000$] \r\n 2. SandKing[1000000$] \r\n 3. Infernus[3500000$] \r\n 4. Turismo[2500000$] \r\n 5. Sultan[800000$] \r\n 6. Cheetah[950000$] \r\n 7. Bullet[1800000$] \r\n 8. Banshee[890000$] \r\n 9. Buffalo[750000$] \r\n 10. Comet[720000$] \r\n 11. Blista Compact[120000$] \r\n 12. Jester[550000$] \r\n 13. Elegy[540000$] ","є??","??");
}
return 1;
}
Re: help with 2 errors please -
SickAttack - 10.05.2014
The error is on this function:
pawn Код:
if(CPS_IsPlayerInCheckpoint(playerid, C))
"C:\Users\shalev\Desktop\ъйчйд згщд (2)\SuperDM\filterscripts\Vehicle-System.pwn(51) : error 017: undefined symbol "C" - What this means is that "C" isn't defined so you must define it.
Example:
Re: help with 2 errors please -
salev13 - 10.05.2014
Quote:
Originally Posted by SickAttack
The error is on this function:
pawn Код:
if(CPS_IsPlayerInCheckpoint(playerid, C))
"C:\Users\shalev\Desktop\ъйчйд згщд (2)\SuperDM\filterscripts\Vehicle-System.pwn(51) : error 017: undefined symbol "C" - What this means is that "C" isn't defined so you must define it.
Example:
|
Thanks and what about the File_Remove?