18.03.2013, 22:04
This is my code
.
This is the line that's acting like a hoe. ( It's the return 0; )
pawn Код:
CMD:neon(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
SendClientMessage(playerid, COLOR_WHITE, "You are not the driver");
return 1;
}
ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "Choose your neon colour","Blue\nGreen\nYellow\nWhite\nPink\nTurn off Neon","Add","Close");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You are not in a vehicle");
}
return 1;
}
return 0;
}
This is the line that's acting like a hoe. ( It's the return 0; )
pawn Код:
}
return 0;
}

