05.11.2012, 21:45
Entao quando vou compilar da uns erro do tipo: AttachObjectToVehicle
SetPVarInt
Nao sei oque pode ser porfavor me ajudem (
Linha dos erros:
SetPVarInt
Nao sei oque pode ser porfavor me ajudem (
Linha dos erros:
pawn Код:
if(strcmp("/NRosa153", cmdtext, true, 10) == 0)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Oloko viado agora se tem um neon rosa vai vendo hehe!");
return 1;
}
pawn Код:
if(strcmp("/NBranco153", cmdtext, true, 10) == 0)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Oloko viado agora se tem um neon branco vai vendo hehe!");
return 1;
}