How to SetPlayerPos for all the players?
#6

I did
pawn Код:
COMMAND:aminigame(playerid, cmdtext)
{
    for(new i; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        SetPlayerPos(2169.0952,-3170.2466,190);
    }
}
And I get
Quote:

C:\Documents and Settings\Lucas\Desktop\Serverstuff\MyTestServerV1. 0\filterscripts\minigame.pwn(491) : warning 213: tag mismatch
C:\Documents and Settings\Lucas\Desktop\Serverstuff\MyTestServerV1. 0\filterscripts\minigame.pwn(491) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas\Desktop\Serverstuff\MyTestServerV1. 0\filterscripts\minigame.pwn(494) : error 030: compound statement not closed at the end of file (started at line 487)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

I got no idea if I'm doing this correctly
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)