02.06.2015, 07:30
this is my code
not working
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_FIRE)
{
new vehicleid = GetVehicleModel(playerid);
if(GetVehicleModel(vehicleid) == 448)
{
TextDrawShowForPlayer(playerid,Textdraw0);
TextDrawShowForPlayer(playerid,Textdraw1);
TextDrawShowForPlayer(playerid,Textdraw2);
TextDrawShowForPlayer(playerid,Textdraw3);
TextDrawShowForPlayer(playerid,Textdraw4);
TextDrawShowForPlayer(playerid,Textdraw5);
viewingtextdraws[playerid] =1;
}
return 1;
}
return 1;
}