09.07.2011, 16:45
Hi guy's I'm having a problem setting up my player spawn, I'm extremely new to scripting so and help would be thankful.
What I'm trying to do seems very simple but somehow I'm still messing it up.
The code I'm using is.
If I have done this right or not I don't know, I look okay to me anyway.
So when I compile the script I get this.
These errors could be very simple to fix but like I said I'm new to scripting so I lost here.
Before I input this snippet of code my server run fine, but after my server_log give me this message.
Can someone help me please.
What I'm trying to do seems very simple but somehow I'm still messing it up.
The code I'm using is.
Код:
public OnPlayerRequestClass(playerid, classid) { GetPlayerPos(playerid,1481.2017,-1756.9124,17.5313); SetPlayerCameraPos(playerid,1481.4348,-1754.4647,16.5232,359.8627); SetPlayerFacingAngle(playerid,359.8627); SetPlayerCameraLookAt((playerid,1481.2017,-1756.9124,17.5313); return 1; }
So when I compile the script I get this.
Код:
(46) : error 035: argument type mismatch (argument 2) (47) : warning 202: number of arguments does not match definition (49) : warning 213: tag mismatch (49) : error 001: expected token: ",", but found ";" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Before I input this snippet of code my server run fine, but after my server_log give me this message.
Код:
[17:49:42] I couldn't load any gamemode scripts. Please verify your server.cfg [17:49:42] It needs a gamemode0 line at the very least.