Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
care to tell which is line 202?
Posts: 9
Threads: 1
Joined: Sep 2011
Reputation:
0
201 > SetObjectPos(46,1467.9734,-873.4727,56.1046);
202>}
203>
Posts: 9
Threads: 1
Joined: Sep 2011
Reputation:
0
waiting for replies plz fast plzzzzzzzzzzzzzzzz.s.
Posts: 9
Threads: 1
Joined: Sep 2011
Reputation:
0
help me help me I cant wait
Posts: 215
Threads: 0
Joined: Apr 2011
Reputation:
0
I'm not sure but i think problem is this "%1 by %1". Try delete this and try again to comptile
Posts: 9
Threads: 1
Joined: Sep 2011
Reputation:
0
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(169) : warning 225: unreachable code
C:\Program Files\Rockstar Games\GTA San Andreas\[TR-EN] Blue Laser DM Server\gamemodes\test.pwn(192) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Help", cmdtext, true, 10) == 0)
{
if (strcmp("/Story", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_GREY,"/Story: Welcome Our Server , This is a Team DM Server");
return 1;
}
return 0;
if (strcmp("/34", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,100);
return 1;
}
return 0;
}
if (strcmp("/killyourself", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,0);
SendClientMessage(playerid,COLOR_BLUE,"OMG! What a bad.");
return 1;
}
return 0;
}
if (strcmp("/skyscraper", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1467.9734,-873.4727,56.1046);
SendClientMessage(playerid,COLOR_BLUE,"IT IS TIME FOR JUMPING!");
SetObjectPos(46,1467.9734,-873.4727,56.1046);
}
last !
Posts: 215
Threads: 0
Joined: Apr 2011
Reputation:
0
Put all commands in [ pawn ] [ / pawn ]