Object format help
#2

pawn Код:
new code[200];
format(code, sizeof(code), "%s[%i] = CreateObject(%i, %f, %f, %f, %f, %f, %f);\r\n",inputtext, counter, oInfo[playerid][i][modelID], oInfo[playerid][i][XLoc], oInfo[playerid][i][YLoc], oInfo[playerid][i][ZLoc], oInfo[playerid][i][XRot], oInfo[playerid][i][YRot], oInfo[playerid][i][ZRot]);
to

pawn Код:
new code[200];
format(code, sizeof(code), "CreateObject(%i, %f, %f, %f, %f, %f, %f);\r\n",oInfo[playerid][i][modelID], oInfo[playerid][i][XLoc], oInfo[playerid][i][YLoc], oInfo[playerid][i][ZLoc], oInfo[playerid][i][XRot], oInfo[playerid][i][YRot], oInfo[playerid][i][ZRot]);
on line 2002.

It should save as "CreateObject(X,Y,Z,RX,RY,RZ)" without the Name[X]
Reply


Messages In This Thread
Object format help - by Keptism - 08.12.2013, 07:23
Re: Object format help - by Padevex - 08.12.2013, 07:29
Re: Object format help - by Keptism - 08.12.2013, 07:43

Forum Jump:


Users browsing this thread: 1 Guest(s)