Search Results
Quote: Originally Posted by Kasichok PHP код: //OnPlayerStateChange new str[15];     warnings[playerid] ++;     format(str, 15, "%d/3 warnings", warnings[playerid]); Â...
261
Quote: Originally Posted by Kasichok PHP код: new warnings[MAX_PLAYERS]; public OnPlayerConnect(playerid) {     warnings[playerid] = 0;     return 1; } //OnPlayerStat...
261
Hey guys, so in my last post i wanted to restrict a vehicle for normal players (make it vip only) Previous thread:https://sampforum.blast.hk/showthread.php?pid=4084044#pid4084044 And my solution was t...
261
Quote: Originally Posted by Undef1ned Why so many complications with this issue? PHP Code: //OnPlayerStateChange if(newstate == PLAYER_STATE_DRIVER)  {       new vehicleid ...
788
Quote: Originally Posted by Kasichok PHP Code: public OnPlayerStateChange(playerid, newstate, oldstate) {     if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 &&am...
788
Im trying to restrict every single hydra, how do i lock all hydras ingame and just let them unlocked for VIP Players? I dont seem to understand it
788
Right now im using this code Code: public OnPlayerEnterVehicle(playerid, vehicleid) { if(vehicleid == 520 && User[playerid][accountVIP] == 0)) { RemovePlayerFromVehicle(playe...
788
I will be running my server on a windows vps,do you think it will work fine if i just install xampp there and run mysql localy on the vps itself?
169
Hey guys,so i wanted to ask something related to mysql and samp. I never used mysql on my samp server but i guess its time. My only question is where do i actually run the mysql server? Do i just inst...
169
What do you mean with "Complie my code from sublime 3" Are you using sublime's compiler?
65
How would i implement that in my code thought.This is how im using GetTickCount() count = GetTickCount(); format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount(...
78
As an output im using: format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount() - count); So it will display It took 123456 milliseconds to get a right answer Is...
78
Thank you,seems i need to use the wiki more.
83
Thanks for your reply,i have seen that syntaxt but the problem is it wont work for me since i dont have only the "message" but the following function after the message "GetTickCount() - count);"
83
So in my code i have this: printf("It took %d to get a right answer!", GetTickCount() - count); count = 0; It works fine but the problem is the following "It took ... to get the right answer" will dis...
83