04.02.2011, 13:28
pawn Код:
if (strcmp("/Nitro", cmdtext, true, 10) == 0)
{
if(IsPlayerVipMember(playerid,2))
if (vehicleid == vehicle)
{
AddVehicleComponent(vehicle, 1010); // Nitro
SendClientMessage(playerid,0x33AA33AA, "ViP(CMD) You have added nitro to your vehicle.");
}
else
{
SendClientMessage(playerid,0xAA3333AA, "Error: You need to be ViP Gold, To use this cmd!");
}
return 1;
}
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.