12.07.2014, 08:05
(
Последний раз редактировалось 123bob123; 12.07.2014 в 12:24.
)
pawn Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnFilterScriptExit()
{
return 1;
}
public OnGameModeInit()
{
AddStaticPickup(1318, 1, 1172.0773,-1323.4209,15.4032,89.4566, -1);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/enter", true))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1172.0773,-1323.4209,15.4032,89.4566))
{
SetPlayerPos(playerid, -204.5060,-1736.0486,675.7687);//HospitalEntrance
SetPlayerInterior(playerid, 1);
}
}
if(!strcmp(cmdtext, "/exit", true))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, -204.5060,-1736.0486,675.7687))
{
SetPlayerPos(playerid, 1172.0773,-1323.4209,15.4032,89.4566);//HospitalExit
SetPlayerInterior(playerid, 0);
}
}
return 1;
}
I get these warnings:
\HospitalCheckpoint.pwn(32) : warning 213: tag mismatch
\filterscripts\HospitalCheckpoint.pwn(32) : warning 202: number of arguments does not match definition
\filterscripts\HospitalCheckpoint.pwn(40) : warning 202: number of arguments does not match definition
\filterscripts\HospitalCheckpoint.pwn(50) : warning 202: number of arguments does not match definition
can someone help me pls