26.02.2014, 14:17
(
Последний раз редактировалось mzazon; 26.02.2014 в 21:13.
)
Resolve it thx you
CMD:givecar(playerid, params[])
{
new vid, Float:X, Float:Y, Float:Z, Float:Angle, targetid;
if(sscanf(params,"d", targetid, vid)) return SendClientMessage(playerid, 0x9C9C9CAA,"Syntax: /car [playerid] [vehicleid]");
if(vid < 400 || vid > 611) return SendClientMessage(playerid,0xFF0000AA,"Invalid Vehicle ID (400 - 611)");
GetPlayerPos(targetid, X, Y, Z);
GetPlayerFacingAngle(targetid, Angle);
PutPlayerInVehicle(targetid, CreateVehicle(vid, X, Y, Z, Angle, 0, 1, 60), 0);
return 1;
}
pawn Код:
|
pawn Код:
|