Start with money error?
#1

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
Reply
#2

PAWN is case-sensitive.

It's GivePlayerMoney
Reply
#3

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
Reply
#4

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

lol yea. thx again. =)
Reply
#6

Quote:

damn you supid mystakes!!!
lol..

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)