15.08.2011, 20:52
if i want to add nos to all players cars when they use the command /nos how i make it that they need 100 score , points and if not got 100 score it says error u need 100 score points
please note i am new at scripting so dont be saying easy etc ,, because if it was easy i wouldnt be asking
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nitro", cmdtext, true, 10) == 0)
{
AddVehicleComponent(154, 1010); // x10 nitro <<---- how to put to x2 nos
SendClientMessage(playerid, COLOR_RED, " You have add Nitro!");
return 1;
}
return 0;