12.07.2012, 01:56
Quote:
try
#include <a_samp> public OnPlayerSpawn(playerid,classid) { if(classid == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2004.93,1544.25,13.59); SetPlayerFacingAngle(playerid,270.0); SetPlayerToTeamColour(playerid); SetPlayerTeamFromClass(playerid, classid); } return 1; } |
pawn Код:
D:\SAMP\Server\SACNC\gamemodes\SACNC.pwn(94) : error 025: function heading differs from prototype
D:\SAMP\Server\SACNC\gamemodes\SACNC.pwn(115) : error 017: undefined symbol "classid"
D:\SAMP\Server\SACNC\gamemodes\SACNC.pwn(119) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.