06.02.2014, 21:56
Why are checking their virtual world and interior and sending them back to it?
Try this.
Try this.
Код:
if(strcmp(cmd, "/join", true) == 0) { if(IsPlayerConnected(playerid)) { if(EventStarted == 0) return SendClientMessage(playerid, COLOR_RED, "No event in this moment"); SetPlayerPos(playerid,ex,ey,ez); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pVirWorld] = 0; PlayerInfo[playerid][pInt] = 0; printf("/tpevent INT: %d TPEVENT VW: %d",interior,vw); } return 1; }