Public feed
#602320
Could someone plz tell me how to fix this?
public shipseat()
{
new Float:xs, Float:ys, Float:zs;
( new i; i < MAX_PLAYERS; i++ )
if ( IsPlayerConnected( i ) ) {
GetObjectPos(ship, xs, ys, zs);
SetPlayerPos(0, xs, xs, zs+5);
return 1;
}
error 017: undefined symbol "playerid"
But now instead of following the ship a little high up, I appear in LV bouncing up and down Shocked
Here is my cmd:
if(strcmp(cmd, "/sailship", true) == 0){
MoveObject(ship,802.36,-1924.86,16.43,3);
SetTimer("shipseat", 10, 1);
return 1;
}
I know the timer is working right but how come I don't appear to follow ship?
[PHX]Randy
Clan Leader/Founder