Error!! SetSpawnInfo - 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: Error!! SetSpawnInfo (
/showthread.php?tid=124090)
Error!! SetSpawnInfo -
Zafire2008 - 28.01.2010
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);
Re: Error!! SetSpawnInfo -
Correlli - 28.01.2010
You're missing one parameter -
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Re: Error!! SetSpawnInfo -
[HiC]TheKiller - 28.01.2010
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Didn't see the post above, just woke up :P.
Re: Error!! SetSpawnInfo -
will_92 - 29.01.2010
yup you're missing a tag..