SA-MP Forums Archive
2 errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 errors (/showthread.php?tid=558349)



2 errors - salev13 - 16.01.2015

i have 2 errors:

PHP код:
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61289) : error 017undefined symbol "playerid"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61293) : error 010invalid function or declaration
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
2 Errors

Lines:

PHP код:
stock GivePlayerCash(playeridmoney)
{
    
SetPVarInt(playerid"Cash"GetPVarInt(playerid"Cash")+money);
    
GivePlayerMoney(playeridmoney);
    return 
1;




Respuesta: 2 errors - JuanStone - 16.01.2015

In that code there are no errors, show the correct code to be able to help him.


Re: 2 errors - xVIP3Rx - 16.01.2015

Are you sure this is line 61289 ?


Re: 2 errors - CalvinC - 16.01.2015

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
Are you sure this is line 61289 ?
Ofcourse there's an GivePlayerMoney, but you might want to create a stock to set the PlayerInfo money up aswell, and have an anti-cheating system.


Re: 2 errors - salev13 - 16.01.2015

nvm fixed it thank you guyss