26.01.2012, 20:13
SetPlayerPos(playerid, PlayerInfo[pLast_x], PlayerInfo[pLasty], PlayerInfo[pLast_z]);
Y u no work
ლ(ಠ益ಠლ
Y u no work
ლ(ಠ益ಠლ
ლ(ಠ益ಠლ
SetPlayerPos(playerid, PlayerInfo[playerid][pLast_x], PlayerInfo[playerid][pLasty], PlayerInfo[playerid][pLast_z]);
GivePlayerWeapon(playerid, weapon, ammo); // playerid - its the ID of who will receive it
|
The playerid is one of the functions parameters, playerid is basically the ID of the player who will be affected by the function.
|
|
but (playerid) is already written almost infront of the code, y do i have to repeat it always?
|