transform car
#4

if(strcmp(cmd, "/rp", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float Float:y Float:z Float:Angle
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,Angle);
if (PlayerInfo[playerid][pAdmin] >= 5)
{
new car;
car = strval(tmp);
if(car == infernus)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
CreateVehicle(411,x,y,z,angle,0,0,3000);
PutPlayerInVehicle(playerid,vehicleid,0);
}
}
}
Reply


Messages In This Thread
transform car - by farris - 17.12.2010, 23:31
Re: transform car - by blackwave - 17.12.2010, 23:35
Re: transform car - by Benjo - 17.12.2010, 23:59
Re: transform car - by farris - 18.12.2010, 00:40
Re: transform car - by Benjo - 18.12.2010, 00:55
Re: transform car - by farris - 18.12.2010, 01:01
Re: transform car - by farris - 18.12.2010, 03:07

Forum Jump:


Users browsing this thread: 1 Guest(s)