Error!! SetSpawnInfo
#1

Hey.. i need use this code when player request class

Код:
	if (pinfo[playerid][sp] == 0) 
	{
		SetSpawnInfo(playerid, 0, pinfo[playerid][skin], pinfo[playerid][px], pinfo[playerid][py], pinfo[playerid][pz], 0, 0, 0, 0, 0, 0); 
		return 1;	
	}
The problem is when i compile i take this error "(Warning) Number of arguments no match with definition"

in this line

Код:
SetSpawnInfo(playerid, 0, pinfo[playerid][skin], pinfo[playerid][px], pinfo[playerid][py], pinfo[playerid][pz], 0, 0, 0, 0, 0, 0);
Reply
#2

You're missing one parameter - https://sampwiki.blast.hk/wiki/SetSpawnInfo
Reply
#3

https://sampwiki.blast.hk/wiki/SetSpawnInfo

Didn't see the post above, just woke up :P.
Reply
#4

yup you're missing a tag..
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)