Help with create vehicle
#1

Hi, I am scripting after a long time, I was making a system, I tried to compile it and I got some errors, It says something undefined symbol RCCAR what to do now?
Код:
new Float:x, Float:y, Float:z;
new rcol1 = random(100);
new rcol2 = random(50);
GetPlayerPos(playerid, Float:x, Float:y, Float:z);
RCCAR = CreateVehicle(441, Float:x, Float:y, Float:z, 365, rcol1, rcol2, 0)
PutPlayerInVehicle(playerid, RCCAR, 0);
rcused[playerid] = 1;
return 1;
Reply
#2

pawn Код:
new RCCAR;
Reply
#3

Replace these:
pawn Код:
GetPlayerPos(playerid, Float:x, Float:y, Float:z);
RCCAR = CreateVehicle(441, Float:x, Float:y, Float:z, 365, rcol1, rcol2, 0);
with these:
pawn Код:
GetPlayerPos(playerid, x, y, z);
RCCAR = CreateVehicle(441, x, y, z, 5.0, rcol1, rcol2, 0);
Reply
#4

EDIT: NVM Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)