01.03.2011, 10:49
pls help
mine now looks like this
1445public OnPlayerCommandText(playerid,cmdtext[]){
{
if(strcmp("/bayside", cmdtext, true) == 0)
{
SetPlayerPos(playerid, -2271.0764, 2317.8457, 4.8202);
SetPlayerFacingAngle(playerid, 180);
SendClientMessage(playerid, 0x00FFFFAA, "hey hey");
return 1;
1153 }
when i try to compile it, i get this error
C:\Users\Sander\Desktop\server\gamemodes\lstdm.pwn (1154) : error 030: compound statement not closed at the end of file (started at line 1147)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
mine now looks like this
1445public OnPlayerCommandText(playerid,cmdtext[]){
{
if(strcmp("/bayside", cmdtext, true) == 0)
{
SetPlayerPos(playerid, -2271.0764, 2317.8457, 4.8202);
SetPlayerFacingAngle(playerid, 180);
SendClientMessage(playerid, 0x00FFFFAA, "hey hey");
return 1;
1153 }
when i try to compile it, i get this error
C:\Users\Sander\Desktop\server\gamemodes\lstdm.pwn (1154) : error 030: compound statement not closed at the end of file (started at line 1147)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.