17.06.2010, 02:08
I have a /roadblock command on my server. The roadblock only shows at certain times. Most of the time it doesn't. Could it be too many objects in that area or ....
I really can't think of anything else
Here is the main part of the code:
Would the numbers in this code need to be raised up? When my server was in los santos they would show up all the time... Now that I moved to Las Venturas a couple of months ago like i said the roadblocks only show up half of the time.
I really can't think of anything else
Here is the main part of the code:
Код:
GetPlayerFacingAngle(playerid,A); ROADBLOCK[playerid] = CreateObject(RoadblockModels[random(sizeof(RoadblockModels))],X,Y-1,Z-0.3,0,0,0); SetObjectRot(ROADBLOCK[playerid], 0.00, 0.00, A-180); RoadblockActive[playerid] = 1;