SA-MP Forums Archive
1 Error in Cutter Rim Command [REP+] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 1 Error in Cutter Rim Command [REP+] (/showthread.php?tid=365866)



1 Error in Cutter Rim Command [REP+] - KatieNGG - 04.08.2012

======


Re: 1 Error in Cutter Rim Command [REP+] - Kindred - 04.08.2012

Quote:

E:\NGRP\gamemodes\NGRP_main.pwn(38078

Lols, no help you shall be given.


Re: 1 Error in Cutter Rim Command [REP+] - Sascha - 04.08.2012

pawn Код:
GivePlayerCash(playerid, -100000)
should be
pawn Код:
GivePlayerCash(playerid, -100000);


This forum requires that you wait 120 seconds between posts. Please try again in 16 seconds. -- blablabla


Re: 1 Error in Cutter Rim Command [REP+] - KatieNGG - 04.08.2012

Quote:
Originally Posted by Kindred
Посмотреть сообщение
Lols, no help you shall be given.
lol your really a stupid guy i think you haven't seen this before: https://sampforum.blast.hk/showthread.php?tid=351357 and my reputation goes to Sascha


Re: 1 Error in Cutter Rim Command [REP+] - Devilxz97 - 04.08.2012

pawn Код:
CMD:cutterrims(playerid, params[])
{
    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GRAD2, "You are not driving a vehicle.");
    AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
    GivePlayerCash(playerid, -100000)
    SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "You have added Cutter Rims to your vehicle.");
    SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Please park your vehicle otherwise they will gone.");
    return 1;
}
u miss ; on GivePlayerMoney
Edit: im late again xD