04.12.2015, 23:15
the system was working but i dont know what the heck happened to him...
Quote:
CMD:join(playerid, params[]) { if(pInfo[playerid][Joined] == 1) return SendClientMessage(playerid, RED, "You are already in the event!"); SetPlayerPos(playerid,GetPVarFloat(playerid,"xxpos "), GetPVarFloat(playerid,"yypos"), GetPVarFloat(playerid,"zzpos")); SetPlayerInterior(playerid,GetPVarInt(playerid,"in t")); SetPlayerVirtualWorld(playerid,GetPVarInt(playerid ,"world")); SendClientMessage(playerid, GREEN, "You have joined the event!"); |
Quote:
CMD:epos(playerid, params[]) { if(pInfo[playerid][Admin]<4) return SendClientMessage(playerid, RED, "ERROR: You are not a high enough level to use this command"); GetPlayerPos(playerid,x,y,z); SetPVarFloat(playerid,"xxpos",x); SetPVarFloat(playerid,"yypos",y); SetPVarFloat(playerid,"zzepos",z); SetPVarInt(playerid,"int",GetPlayerInterior(player id)); SetPVarInt(playerid,"world",GetPlayerVirtualWorld( playerid)); SendClientMessage(playerid, GREEN, "Event Position Has Been Set!"); eInfo[Pos] = 1; return 1; } |