11.09.2011, 14:55
Estб a faltar return nestes seus comandos.
pawn Код:
new CarroCriado;
pawn Код:
if (strcmp(cmdtext, "/elegy", true)==0)
{
if(CarroCriado = 1)
{
new vehicleid = GetPlayerVehicleID(playerid);
DestroyVehicle(vehicleid);
return 1;
}
new Float:X, Float:Y, Float:Z ;
GetPlayerPos(playerid, X, Y, Z);
SetPVarInt(playerid, "Cris", CreateVehicle(562, X, Y, Z, 0.0, -1, -1, -1));
CarroCriado = 1;
return 1;
}