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)
+--- Thread: SetSpawnInfo (
/showthread.php?tid=548133)
SetSpawnInfo -
MrCallum - 27.11.2014
I get this error:
Quote:
C:\Users\Callum.Acer\Desktop\test.pwn(304) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
|
Код:
SetSpawnInfo(playerid, 0, 0, -2150.0972, 1901.4792, 555.4389, 0, 0, 0, 0, 0, 0); LINE 304
SpawnPlayer(playerid);
Re: SetSpawnInfo -
PowerPC603 - 27.11.2014
You lack one parameter.
SetSpawnInfo holds 13 parameters while you supply only 12.
Just add another ", 0" at the end and you'll be fine.
Or better yet, add ", 0.0" after your coordinates, because you forgot the Angle parameter, which comes after the coordinates.
Re: SetSpawnInfo -
LeXuZ - 27.11.2014
Never mind guy above said it first....