#define SetPlayerPosEx(%0,%1,%2,%3,%4) SetPlayerPos(%0,%1,%2,%3) && SetPlayerFacingAngle(%0,%4)
SetPlayerInteriorEx(playerid,interiorid)
{
format(gstring, sizeof(gstring), "Interior setado para %d.", interiorid);
SendClientMessageEx(playerid, 0xB4B5B7AA, gstring);
SetPlayerInterior(playerid,interiorid);
}
SendClientMessageEx(playerid,color,message[])
{
if(TweetDesativado[playerid] == 0)
{
SendClientMessage(playerid,color,message);
}
return 1;
}
SendClientMessageToAllEx(color,message[])
{
for(new i=0; i<Maximo_Players; i++)
{
if(TweetDesativado[i] == 0)
{
SendClientMessage(i,color,message);
}
}
return 1;
}
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(410) : error 017: undefined symbol "gstring"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(410) : error 017: undefined symbol "gstring"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(410) : error 029: invalid expression, assumed zero
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(410) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
new gstring[60];
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(410) : warning 219: local variable "gstring" shadows a variable at a preceding level
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(418) : error 017: undefined symbol "TweetDesativado"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(418) : warning 215: expression has no effect
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(418) : error 001: expected token: ";", but found "]"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(418) : error 029: invalid expression, assumed zero
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(418) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
new gstring[128];
new TweetDesativado[MAX_PLAYERS];
pawn Код:
|
#define SetPlayerPosEx(%0,%1,%2,%3,%4) SetPlayerPos(%0,%1,%2,%3) && SetPlayerFacingAngle(%0,%4)
new TweetDesativado[MAX_PLAYERS];
new gstring[128];
stock SetPlayerInteriorEx(playerid,interiorid)
{
format(gstring, sizeof(gstring), "Interior setado para %d.", interiorid);
SendClientMessageEx(playerid, 0xB4B5B7AA, gstring);
SetPlayerInterior(playerid,interiorid);
}
stock SendClientMessageEx(playerid,color,message[])
{
if(TweetDesativado[playerid] == 0)
{
SendClientMessage(playerid,color,message);
}
return 1;
}
stock SendClientMessageToAllEx(color,message[])
{
for(new i=0; i<Maximo_Players; i++)
{
if(TweetDesativado[i] == 0)
{
SendClientMessage(i,color,message);
}
}
return 1;
}
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(253) : warning 219: local variable "gstring" shadows a variable at a preceding level
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(255) : error 029: invalid expression, assumed zero
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(255) : error 017: undefined symbol "SetPlayerInteriorEx"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(257) : error 017: undefined symbol "interiorid"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(258) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(260) : error 017: undefined symbol "playerid"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(262) : error 029: invalid expression, assumed zero
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(262) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(264) : error 017: undefined symbol "playerid"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(266) : error 017: undefined symbol "playerid"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(270) : warning 225: unreachable code
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(270) : error 029: invalid expression, assumed zero
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(270) : error 017: undefined symbol "SendClientMessageToAllEx"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(272) : error 017: undefined symbol "Maximo_Players"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(276) : error 017: undefined symbol "color"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(282) : warning 225: unreachable code
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(356) : warning 209: function "F_ObjectUpdate" should return a value
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3067) : error 017: undefined symbol "TendoEvento"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3069) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3072) : error 017: undefined symbol "TimerEvento"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3073) : error 017: undefined symbol "TendoEvento"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3073) : warning 215: expression has no effect
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3074) : error 017: undefined symbol "EventoTipo"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3074) : warning 215: expression has no effect
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3077) : error 017: undefined symbol "PodeIrEvento"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3077) : warning 215: expression has no effect
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3079) : error 017: undefined symbol "Maximo_Players"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3081) : error 017: undefined symbol "pLogged"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3089) : error 017: undefined symbol "TendoEvento"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3091) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3095) : error 017: undefined symbol "TendoEvento"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3095) : warning 215: expression has no effect
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3096) : error 017: undefined symbol "EventoTipo"
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3096) : warning 215: expression has no effect
C:\Users\Anonymous\Desktop\BrasilScriptGaMeS\gamemodes\ScriptGamesCaio.pwn(3099) : error 017: undefined symbol "PodeIrEvento"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
#define SetPlayerPosEx(%0,%1,%2,%3,%4) SetPlayerPos(%0,%1,%2,%3) && SetPlayerFacingAngle(%0,%4)
new TweetDesativado[MAX_PLAYERS];
stock SetPlayerInteriorEx(playerid,interiorid){
static int_str[128];
format(int_str, sizeof(int_str), "Interior setado para %d.", interiorid);
SendClientMessageEx(playerid, 0xB4B5B7AA, int_str);
SetPlayerInterior(playerid,interiorid);
}
stock SendClientMessageEx(playerid,color,message[]){
if(TweetDesativado[playerid] == 0) SendClientMessage(playerid,color,message);
return true;
}
stock SendClientMessageToAllEx(color,message[]){
for(new i=0; i<Maximo_Players; i++){
if(TweetDesativado[i] == 0) SendClientMessage(i,color,message);
}
return true;
}