06.05.2010, 15:51
Hello!
= error 017: undefined symbol "x"
What kind of way should I use for adding those with variable?
I know I can't do it with variable[playerid] = GetPlayerCameraPos(playerid,x,y,z); -> SetPlayerCameraPos(playerid,variable[playerid);
Im sure it will give argument mismatch, right?
So some another way of doing that....?
Regards,
Assyria
Код:
public OnPlayerDeath(playerid, killerid, reason) { new Float:x; new Float:y; new Float:z; if(test[playerid] == 5) { GetPlayerCameraPos(playerid, x, y, z); } return 1; }
Код:
public OnPlayerSpawn(playerid) { if(test[playerid]==5) { SetPlayerCameraPos(playerid, x,y,z); return false; }
What kind of way should I use for adding those with variable?
I know I can't do it with variable[playerid] = GetPlayerCameraPos(playerid,x,y,z); -> SetPlayerCameraPos(playerid,variable[playerid);
Im sure it will give argument mismatch, right?
So some another way of doing that....?
Regards,
Assyria