Failed to save
#1

I have a problem saving and it is this:

"syntax error in the expression, or invalid function call"

Код:
public OnPlayerEnterCheckpoint(playerid)
if (IsPlayerInCheckpoint(playerid))
{
if (IsPlayerInRangeOfPoint(playerid, 10, 1534.1671, -1783.1217, 13.5469))
{
GivePlayerWeapon
}
Reply
#2

Wrong section!

Here you go:

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
if (
IsPlayerInCheckpoint(playerid))
{
    if (
IsPlayerInRangeOfPoint(playerid101534.1671, -1783.121713.5469))
{
    
GivePlayerWeapon(playerid/*weapon id here + remove the /**/*/, /*ammo here + remove the /**/*/);
}
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)