26.07.2010, 11:33
Hey, thanks for posting this topic, here's a quick fix and I hope it works as it's untested.
First, place this at the top of your script anywhere under #include <a_samp>
Next, add this under OnGameModeInit:
First, place this at the top of your script anywhere under #include <a_samp>
pawn Код:
new Float:RandCoords[4][6] = {
{1023.79,-976.95,43.14}, // 1
{1197.05,-1001.90,32.88}, // 2
{1250.04,-904.73,42.53} // 3
{1284.84,-994.44,38.5) // 4
};
pawn Код:
Public OnGameModeInit()
{
new Rand = random( 4 ),
AddStaticVehicle(562,RandCoords[Rand][3],RandCoords[Rand][2],RandCoords[Rand][1],0,0,0,1,1);
return 1;
}