Search Results
Код: new IsAtDM[MAX_PLAYERS]; To OnPlayerConnect Код: IsAtDM[playerid] = 0; At command Код: if(IsAtDM[playerid] == 1) return SendClientMessage(playerid, -1, "You need to exit from dm area ...
238
Do same thing with another function..like IsAtDM,set it to 1 when he type the command and to 0 when he exit..
238
Код: if (strcmp(cmdtext,"/area51dm", true, 9) ==0) { if(IsAtDMArea[playerid] == 1) return SendClientMessage(playerid, red, "You already are at dm area"); SetPlayerPos(playerid,203.5948, 1929.716...
238
Use a function like Код: new IsAtDMArea[MAX_PLAYERS]; To OnPlayerConnect Код: IsAtDMArea[playerid] = 0; At command Код: if(IsAtDMArea[playerid] == 1) return SendClientMessage(playerid, -1,...
238
That`s "dampness"(****** translate),be cool nothing bad will happen with you,but just keep posting here to make sure that you're okay )
411
Quote: Originally Posted by JEkvall95 ok btw what is that part for? Read here https://sampwiki.blast.hk/wiki/Strtok
166
That`s not nice Quote: a bird shitting exactly inside my mouth while riding a bike And for the picture..maybe a coincidense for that? I don`t belive in things like that..so keep c...
411
Delete this Код: strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new re...
166
Post here https://sampforum.blast.hk/showthread.php?tid=187229
111
Will call the function just once like this. Код: SetTimer("Advertise_Gen2", (00152), 0);
156
Try it like this..maybe will work Код: format(text,sizeof(text)," || %d/%d/%d - %d:%d:%d || [Admin Log]: %s has done something...\n ",Day,Month,Year,Day,Month,Year,Hour,Minute,Second,name);
145
Well,if is not in your pc,why are you using localhost? Is at the same host with the server host? Try to use an ip.
228
https://sampwiki.blast.hk/wiki/GetPlayerFacingAngle ?
216
That`s funny ) Have you tried to do something with this? Try to do it and if you have problems post here. Save the x,y,z when player disconects and then spawn the player at that x,y,z.
273
Do you have password there? try Код: #define mysql_host "localhost" #define mysql_user "root" #define mysql_password "" #define mysql_database "galaxycs_db" Is in your pc right?
228
What are you using for data base? What program..?
228
Код: public OnGameModeInit( ) { //Other TD UP BACK = TextDrawCreate(320.625, 233.916, "BACK"); TextDrawLetterSize(BACK, 0.500000, 1.000000); TextDrawTextSize(BACK, 2.500, 10.000000); TextDraw...
330
Is not there the problem,post here OnPlayerSpawn
292
Try it now. Код: CMD:afk(playerid, params[]) { new string[500], AFKNAME[MAX_PLAYER_NAME]; GetPlayerName(playerid,AFKNAME,MAX_PLAYER_NAME); if(AFK[playerid] == 1) { GameTextForPla...
246