11.09.2011, 15:28
pawn Код:
if (strcmp(cmdtext, "/elegy", true)==0)
{
new pvar = GetPVarInt(playerid, "Cris");
if(pvar > 0)
{
DestroyVehicle(pvar);
}
new Float:X, Float:Y, Float:Z ;
GetPlayerPos(playerid, X, Y, Z);
new carro = CreateVehicle(562, X, Y, Z, 0.0, -1, -1, -1);
SetPVarInt(playerid, "Cris", carro);
}