Search Results
Quote: Originally Posted by ShadowMcFartPants! But i think like Sandra she has hers at the begging of all hers scirpts The ones i use i my scripts i typed myself. Took me about 15 minu...
665
The timer is allright, you made a mistake in the print-funtion: Код: printf("%f",distance); //Distanz since 'distance' is a decimal, you should use %d instead of %f: Код: printf("%d",distance)...
846
Quote: Originally Posted by Trooper[Y ] Where do you knew the solution from? Where did you have learned that? I`d like to get my own Problems fixed by myself in the future By searching...
846
Код: SetTimerEx("checkregion",10000,0,"iffi",playerid,X-500,Yy,500);
846
Like an automatic register/login.
479
Код: public GetClosestCarWithModel(playerid, model) { if (!IsPlayerConnected(playerid)) { return -1; } new Float:prevdist = 100000.000; new prevcar; for (new carid = 0; carid < ...
656
Quote: Originally Posted by OmeRinG Quote: Originally Posted by Rk_ Go to that pos, do /save and than check in savedpositions.txt of the directory where the main game is instal...
925
Did you put that command in your OnPlayerCommandText-callback along with your other commands?
971
//Top of script: Код: new bool:ChatBlocked; //OnPlayerText: Код: public OnPlayerText(playerid, text[]) { if(ChatBlocked == true && !IsPlayerAdmin(playerid)) { SendClientMessage...
971
Код: if((gTeam[playerid] == TEAM_ADMINISTRATORS) && (!IsPlayerAdmin(playerid)) { ForceClassSelection(playerid); return SetPlayerHealth(playerid, 0.0); } if(team == TEAM_BALLAS) //0, 1...
956
Works only for playerid '0' edit, and "100000 ms" is not 10 minutes, but 100 seconds (1 minute and 40 seconds). Please test your scripts before releasing them.
849
You server (or client) crashes because you are sending an empty (unformatted) string in case you chose the "exit-row" Look: Код: if(Current == burgermenu) { new actstring[128]; //You are defin...
908
Код: for(new i=0; i<10; i++) { if(vehicleid == teamcars[i]) { //The vehicle is a teamcar //rest of code break; //This stops the loop } }
614
Try something like: //Global: Code: new RacePositions[3]; //This should be in the part where the race starts; Code: RacePositions[0] = -1; RacePositions[1] = -1; RacePositions[2] = -1; Code: publi...
895
Quote: Originally Posted by Benjo If in file1 I do something like vari=5; will file2 now recognise vari as '5', or will it be '5' to file1 and '0' to file2? It will be recognised by fil...
541
Quote: Originally Posted by WiseGuy Are you seriously telling me to go through 1,000+ objects in one catogory? Yeah, do you think WE know the ID's of all 18000 objects? Like OmeRing su...
782
https://sampwiki.blast.hk/wiki/SetPlayerWeather
601
Код: if (strcmp("/hitman", cmdtext, true, 10) == 0) { ShowMenuForPlayer(Hitman,playerid); TogglePlayerControllable(playerid,false); TogglePlayerControllable(playerid, 1); <<=== ????...
1,283
Код: format(string, sizeof(string), "Accounts/%s.ini", plname);
1,325