29.01.2010, 08:47
it didn't have any errors ? ROFL... fuxed complier then.
1st: The Script: Do new ServerCfg[Locked]; then when you want to lock it ServerCfg[Locked] = 1; then OnPlayerConnect(playerid) do if( ServerCfg[playerid][Locked] == 1 ) { //do thingie kick } and if you kick, no need for return 0; because he will get kicked, for a check you need to do if( bla == 1) not if( bla = 1)
2nd: Reinstall your PawnO (download a sa-mp server and copy "Pawno" folder over the pawno you are using atm )
1st: The Script: Do new ServerCfg[Locked]; then when you want to lock it ServerCfg[Locked] = 1; then OnPlayerConnect(playerid) do if( ServerCfg[playerid][Locked] == 1 ) { //do thingie kick } and if you kick, no need for return 0; because he will get kicked, for a check you need to do if( bla == 1) not if( bla = 1)
2nd: Reinstall your PawnO (download a sa-mp server and copy "Pawno" folder over the pawno you are using atm )