01.02.2013, 11:09
I use this command , but nothing added to the vehicle
PHP код:
dcmd_rnos(playerid,params[])
{
#pragma unused params
if(IsSpawned[playerid] != 1)
{
SendClientMessage(playerid,COLOR_ERROR,"You must be alive and spawned in order to be able to use this command.");
return 1;
}
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_ERROR,"You must be in a vehicle in order to be able to use this command.");
return 1;
}
if(IsRegularPlayer[playerid] != 1337)
{
SendClientMessage(playerid,COLOR_ERROR,"You must be a Regular Player in order to use this command.");
return 1;
}
AddVehicleComponent(playerid, 1010);
return 1;
}