04.11.2012, 17:34
Код:
SetPlayerPos(playerid, X, Y, Z);
@Edit
Exemplo:
SetPlayerPos(playerid,-1615.8375,684.6906,7.1875);
Код:
if (strcmp(cmd, "/pedircontas", true) == 0) { if(PlayerInfo[playerid][pMembro] == 0) { SendClientMessage(playerid,COLOR_GREY," Vocк nгo faz parte de nemhuma organizaзгo!"); return true; } DemitirInfoOrg(PlayerName(playerid)); gTeam[playerid] = 3; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; PlayerInfo[playerid][pSpawn] = 0; if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 250; } else { PlayerInfo[playerid][pSkin] = 226; } SetSpawnInfo(playerid, gTeam[playerid], PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); MedicBill[playerid] = 0; SpawnPlayer(playerid); SetPlayerInterior(playerid, 0); MedicBill[playerid] = 0; SetPlayerPos(playerid,-1615.8375,684.6906,7.1875); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк pediu contas, agora vocк й um Civil novamente!"); return true; }
Ajudei?
+Reputation!!
Custa nada meu amigo
Nгo ajudei?
Custa nada agradecer!
MUITO OBRIGADO!