15.05.2010, 14:01
if(strcmp(cmdtext, "/gjester", true) == 0)
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_WHITE, "Vehicle Spawned!");
else SendClientMessage(playerid, COLOR_RED, "You must be logged into RCON to use this command.");
vehicle = CreateVehicle(559,x,y,z,179.3656,6,1,6000000);
PutPlayerInVehicle(playerid, vehicle, 0);
return 1;
}
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_WHITE, "Vehicle Spawned!");
else SendClientMessage(playerid, COLOR_RED, "You must be logged into RCON to use this command.");
vehicle = CreateVehicle(559,x,y,z,179.3656,6,1,6000000);
PutPlayerInVehicle(playerid, vehicle, 0);
return 1;
}