09.04.2013, 12:27
i have cmd /pause and if i type /back player dont go when i use pause help me with this. REP ++
if(strcmp(cmdtext, "/pause", true) == 0)
{
OnPlayerPause(playerid);
new string[120];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string), sizeof(string), "%s is now AFK", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
}
if(strcmp(cmdtext, "/back", true) == 0)
{
new string[120];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string), sizeof(string), "%s is now Back from AFK", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
}
new Float:PosX, Float:PosY, Float:PosZ, Float:PosA,
Interior, VirtualWorld;
new Float:PosX[MAX_PLAYERS], Float:PosY[MAX_PLAYERS], Float:PosZ[MAX_PLAYERS], Float:PosA[MAX_PLAYERS],
Interior[MAX_PLAYERS], VirtualWorld[MAX_PLAYERS];