07.01.2011, 17:41
pawn Код:
if (strcmp("/hyd", cmdtext, true, 10) == 0)
{
if(gVIP[playerid] >= 1)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInAnyVehicle(playerid))
{
AddVehicleComponent(vehicleid, 1087);
}else{
SendClientMessage(playerid,0xFF0000AA,"You are not in a vehicle!!");
}
} else return SendClientMessage(playerid,0xFF0000AA,"You're not a VIP!");
return 1;
}