01.05.2011, 22:24
Use this tutorial:
http://forum.sa-mp.com/showthread.ph...76#post1142276
http://forum.sa-mp.com/showthread.ph...76#post1142276
pawn Код:
CMD:drift(playerid,params[])
{
new DriftId;
if(sscanf(params, "i", DriftId))
{
SendClientMessage(playerid, COLORHERE, "/drift [number]");
}
else if(DriftId < 0)
{
SendClientMessage(playerid, COLORHERE, "Number must be greater then 0");'
}
else
{
if(DriftId == 1)
{
SetPlayerPos(playerid, X, Y, Z);
}
//so on
}
return 1;
}
{