30.06.2009, 04:08
hi there i was woundering if there is a way to go /nos and the car that the person is in gets nos a little help?
thx for ur time
thx for ur time
if(strcmp(cmdtext, "/nos", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, color, "Must be in vehicle to use this command!");
AddVehcileComponent(GetPlayerVehicleID(playerid), 1010);
SendClientMessage(playerid, color, "Nos added");
return 1;
}
Originally Posted by Abernethy
Go download a Stunt GM, or fucking search. I'm sick of people not searching.
|
Originally Posted by Swift_
Untested
pawn Код:
|
Originally Posted by sggassasin
ic got this error from swift code and how do i stop it from crashing
C:\Program Files\Rockstar Games\GTA San Andreas\samp sever\gamemodes\FRAS2.pwn(1505) : error 017: undefined symbol "AddVehcileComponent" |
AddVehicleComponent // It was a simple typo.
// Usuage ;
AddVehicleComponent(/*VEH_ID*/, /*VEH_COMPONENT*/);