SA-MP Forums Archive
Help on gamemode making server restart - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help on gamemode making server restart (/showthread.php?tid=324688)



Help on gamemode making server restart[FIXED] - stormchaser206 - 10.03.2012

BUG FIXED.

But please answer any questions i have in this post...


Re : Help on gamemode making server restart - Milan590 - 10.03.2012

the Blank Script is normal , you need to change it on the filterscript "Blank Script" to "(gamemode name)"


Re : Help on gamemode making server restart - Milan590 - 10.03.2012

Here are some screens , Before and After (I am co owner of his server) :
Before :

After :


Re: Help on gamemode making server restart - Alexy_Dramon - 10.03.2012

Hmm i think i know your problem Try delete this lin from your GM!
SendClientMessage(playerid, COLOR_GREEN, "You have entered a vehicle. ID: %s", vehicleid);
The %s Closing your Connection it's happen to me today
if it's working so I'm happy for yo
Sorry for my Bad English


Re: Help on gamemode making server restart - Shabi RoxX - 10.03.2012

Quote:
Originally Posted by Alexy_Dramon
Посмотреть сообщение
Hmm i think i know your problem Try delete this lin from your GM!
SendClientMessage(playerid, COLOR_GREEN, "You have entered a vehicle. ID: %s", vehicleid);
The %s Closing your Connection it's happen to me today
if it's working so I'm happy for yo
Sorry for my Bad English
What %s Cause restart ? You are using %s for integer ?? Use %d Like:
pawn Код:
SendClientMessage(playerid, COLOR_GREEN, "You have entered a vehicle. ID: %d", vehicleid);



Re: Help on gamemode making server restart - stormchaser206 - 10.03.2012

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
What %s Cause restart ? You are using %s for integer ?? Use %d Like:
pawn Код:
SendClientMessage(playerid, COLOR_GREEN, "You have entered a vehicle. ID: %d", vehicleid);
I will try it.

EDIT: I think its working now, But it says when i enter car:
You have entered a vehicle. ID: 544567129


Re: Help on gamemode making server restart - Shabi RoxX - 10.03.2012

use %s if Vehid is a string


Re: Help on gamemode making server restart - stormchaser206 - 10.03.2012

Thank you for helping


Re: Help on gamemode making server restart - stormchaser206 - 10.03.2012

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
use %s if Vehid is a string
What do you mean? I put it under OnPlayerEnterVehicle.


Re: Help on gamemode making server restart - Max_Coldheart - 10.03.2012

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
use %s if Vehid is a string
He must use %d as the vehicle ID is number.