SetSpawnInfo
#1

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

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.
Reply
#3

Never mind guy above said it first....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)