SA-MP Forums Archive
Start with money error? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Start with money error? (/showthread.php?tid=145618)



Start with money error? - alan91330 - 03.05.2010

Hi all, started scripting my own game mode, and i need players to spawn with 1,000,000$. my code is
Код:
public OnPlayerSpawn(playerid)
{
	Giveplayermoney(playerid,100000);
	return 1;
}
The error it gives me is
Quote:

(206) : error 017: undefined symbol "Giveplayermoney"

any help would be appreciated. :P



Re: Start with money error? - westre - 03.05.2010

PAWN is case-sensitive.

It's GivePlayerMoney


Re: Start with money error? - alan91330 - 03.05.2010

Wow, Now i feel completely Stupid. lol, thanks. Same things happend when i programd stuff with qbasic, visual basic, and the others... miss the simplest things. damn you supid mystakes!!! damn you


Re: Start with money error? - Steven82 - 03.05.2010

Chill, Chill lol But great that you understand that is it Case Sensitive now.


Re: Start with money error? - alan91330 - 03.05.2010

lol yea. thx again. =)


Re: Start with money error? - coole210 - 03.05.2010

Quote:

damn you supid mystakes!!!
lol..

btw doesnt visual basic auto-correct? Mine does O.o


Re: Start with money error? - alan91330 - 03.05.2010

Lop, my errors are like forgetting the $ after a variable n stuff like that. Lol. Thx tho