17.05.2011, 15:00
Vocк tem que colocar no inicio do gm
comando:
pawn Код:
new Float:PlayerX[MAX_PLAYERS],
Float:PlayerY[MAX_PLAYERS],
Float:PlayerZ[MAX_PLAYERS];
pawn Код:
if(!strcmp("/sp", cmdtext, true))
{
new msg[128];
GetPlayerPos(playerid, PlayerX[playerid], PlayerY[playerid], PlayerZ[playerid]);
format(msg, sizeof(msg), "Vocк salvou sua posiзгo como %f,%f,%f", PlayerX[playerid], PlayerY[playerid], PlayerZ[playerid]);
SendClientMessage(playerid, 0xFFFFFFFF, msg);
return 1;
}
if(!strcmp("/vp", cmdtext, true))
{
new msg[128];
SetPlayerPos(playerid, PlayerX[playerid], PlayerY[playerid], PlayerZ[playerid]);
format(msg, sizeof(msg), "Vocк voltou a posiзгo %f,%f,%f", PlayerX[playerid], PlayerY[playerid], PlayerZ[playerid]);
SendClientMessage(playerid, 0xFFFFFFFF, msg);
return 1;
}