13.10.2010, 19:51
How to make your server when you write /uranus as you put the car uranus (car spawn)
if(strcmp(cmd, "/uranus", true) == 0)
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid, a);
AddStaticVehicle(558, x+2, y+3, z, a, 0, 0); // 558 is the uranus car id, 0, 0 are the color of a car...
return 1;
}
if(strcmp(cmd, "/infernus", true) == 0) // "/infernus" is the command's name
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid, a);
AddStaticVehicle(411, x+2, y+3, z, a, 0, 0); // 411 is the infernus car id, 0, 0 are the color of a car...
return 1;
}