02.08.2012, 15:53
From what I see is that
Must be:
And that this:
and
must be
The whole code (fixed the things I saw, correct me if I'm wrong of course):
pawn Code:
SetPlayerPos(playerid,,2494.9758,-1685.5616,13.5118);
SetPlayerPos(playerid,,1938.9037,-1114.6855,27.4523);
pawn Code:
SetPlayerPos(playerid,2494.9758,-1685.5616,13.5118);
SetPlayerPos(playerid,1938.9037,-1114.6855,27.4523);
pawn Code:
format(string,sizeof string,"%s Has Joined Grove By Using /grove.",pName);
pawn Code:
format(string,sizeof string,"%s Has Joined Ballas By Using /ballas.",pName);
pawn Code:
format(string,sizeof(string),"%s Has Joined Grove By Using /grove.",pName);
format(string,sizeof(string),"%s Has Joined Grove By Using /grove.",pName);
pawn Code:
if(strcmp(cmdtext, "/grove", true) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}SERVER: You Have Been Teleported!.");
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof(string),"%s Has Joined Grove By Using /grove.",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
SetPlayerPos(playerid,2494.9758,-1685.5616,13.5118);
return 1;
}
if(strcmp(cmdtext, "/ballas", true) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}SERVER: You Have Been Teleported!.");
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof(string),"%s Has Joined Ballas By Using /ballas.",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
SetPlayerPos(playerid,1938.9037,-1114.6855,27.4523);
return 1;
}