repair cmd?
#1

can someone make a sort of cmd that u press 2 and that ur car is repaired? xd i dont know how to make it but if its kind of cmd i use still strcmp so if u have to make kind of cmd use that pls xd
niels
Reply
#2

pawn Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
    if( newkey == KEY_SUBMISSON ) return RepairVehicle( playerid );
    return 1;
}
Now when you will press 2( KEY_SUBMISSION ) your car will be repaired....
Reply
#3

Oh you got help already
Reply
#4

hey it still not working bro when i press 2 it isnt working how to fix this?
Reply
#5

pawn Код:
if( newkeys & KEY_SUBMISSON ) return RepairVehicle( GetPlayerVehicleID(playerid) );
Reply
#6

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
pawn Код:
if( newkeys & KEY_SUBMISSON ) return RepairVehicle( GetPlayerVehicleID(playerid) );
Thx BLOOD, my fool...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)