#1

when i open samp-server.exe it open the black window as usual... but now it says right before Number of vehicles...
Код:
Script [gamemodes/mygamemode.amx]: Run time error 20: "Invaild index parameter (bad entery point)
when i enter my server he works fine... but still... i want to fix this problem. it all started after i added a fakedeath command to my gamemode, a chat something ([NAME](id:ID): TEXT [player/admin]... but that worked before... another thing that i added was when you kill someone it give you his money + 500 and send a death message... plz help!!!
Reply
#2

You need:

main()
{

}

In your gm.
Reply
#3

Quote:
Originally Posted by Stigg
Посмотреть сообщение
You need:

main()
{

}

In your gm.
where do i put this?
Reply
#4

Where every you want, but it must be outside any callback.

So do it like:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

main()
{

}

public OnPlayerSpawn(playerid)
{
    return 1;
}
Reply
#5

Quote:
Originally Posted by xRyder
Посмотреть сообщение
Where every you want, but it must be outside any callback.

So do it like:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

main()
{

}

public OnPlayerSpawn(playerid)
{
    return 1;
}
thx, i'll try it!
__________________
Edit:
------Thx! it worked!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)