What's wrong again?
#4

Quote:
Originally Posted by LeeXian99
Посмотреть сообщение
pawn Код:
CMD:partyhouse(playerid,params[])
{
    if(g_antifall[playerid] = 0)
        {
        SetPlayerPos(playerid,-827.6990,-1901.7521,11.8223);
        SendClientMessage(playerid, 0x00FF00, "Welcome to Party House.");
        new name[MAX_PLAYER_NAME+1], string[128];
        GetPlayerName(playerid, name, sizeof(name));
        format (string, sizeof(string), "[TP]: %s has teleported to /partyhouse.", name);
        SendClientMessageToAll(green, string);
        return 1;
        }
    else return SendClientMessage(playerid, red, "You must exit your vehicle to teleport!");
}
Errors: (there's more, just taking an example)
Код:
C:\Users\Kelvin\Desktop\Scripting\gamemodes\racerevolution.pwn(5229) : warning 211: possibly unintended assignment
'=' is used for assigning the values and '==' is used for checking conditions.
Reply


Messages In This Thread
What's wrong again? - by LeeXian99 - 29.03.2013, 07:30
Re: What's wrong again? - by Da_Noob - 29.03.2013, 07:34
Re: What's wrong again? - by CoaPsyFactor - 29.03.2013, 07:36
Re: What's wrong again? - by Gamer_007 - 29.03.2013, 08:26

Forum Jump:


Users browsing this thread: 1 Guest(s)