13.01.2012, 03:21
To criando um simples teleport e ta dando erro ?? nao consigo arumar ele , alguen ai me ajuda !!
o erro !
por favor alguen ajuda aew !
pawn Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Drop da morte ");
print("--------------------------------------\n");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
new playername[MAX_PLAYER_NAME];
if (strcmp("/drop", cmdtext, true, 10) == 0)
{
new string[68];
SetPlayerPos(playerid, 3747.099609375,-2190.5,561.09997558594);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
SetPlayerVirtualWorld(playerid,0);
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string)," %s Foi para o /drop (/drop)",playername);
SendClientMessageToAll(0x15FF00AA,string);
return 1;
}
Quote:
C:\Users\User\Desktop\lokoooooo.pwn(2 : error 001: expected token: "#endif", but found "-end of file-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |