10.08.2014, 00:16
Quote:
You're checking the distance from RBInfo[a][rX], rY and rZ but at no point are you setting them. You're setting the roadblock location in Roadblocks[i][rX], rY and rZ.
|
pawn Код:
CMD:rb(playerid, params[])
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid, a);
CreateRoadblock(978,x,y,z,a);
return 1;
}