22.07.2012, 17:11
Hello,
When im trying to compile something that I scripted it says Pawno stop working im making this
If you are in a car and your admin if you do /rims then a you will see an menu Gold rims or Cutter rims
Who helped me will get REP
When im trying to compile something that I scripted it says Pawno stop working im making this
pawn Код:
if(dialogid == RIMSMENU)
{
if ( response )
{
switch ( listitem )
{
case 0:
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
AddVehicleComponent(GetPlayerVehicleID(playerid),1080);
}
return SendClientMessage(playerid, 0xFFFFFFFF, "You have added Gold Rims to your vehicle.");
}
case 1:
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
}
return SendClientMessage(playerid, 0xFFFFFFFF, "You have added Cutter Rims to your vehicle.");
}
}
}
Who helped me will get REP