29.06.2016, 02:35
Quote:
so colocar isso no comando
PHP код:
|
pawn Код:
C:\Users\Familia\Desktop\Servidor\gamemodes\GM.pwn(661) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
pawn Код:
if(strcmp(cmdtext,"/monster",true)==0)
{
new name[MAX_PLAYER_NAME], string[64];
GetPlayerName(playerid, name, sizeof(name));
format(string, 64, "O player %s usou teleporte", name);
SendClientMessageToAll(-1, string);
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"INFO: Vocк estб em Parkour Monster",4000,6);
return SetVehiclePos(vehicleid,2887.6794,-2008.3571,5.7851);
}
SetPlayerPos(playerid,2887.6794,-2008.3571,5.7851);
GameTextForPlayer(playerid,"INFO: Vocк estб em Parkour Monster",4000,6);
return 1;
}