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 ...
101
Do same thing with another function..like IsAtDM,set it to 1 when he type the command and to 0 when he exit..
101
Код: 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...
101
Use a function like Код: new IsAtDMArea[MAX_PLAYERS]; To OnPlayerConnect Код: IsAtDMArea[playerid] = 0; At command Код: if(IsAtDMArea[playerid] == 1) return SendClientMessage(playerid, -1,...
101
That`s "dampness"(****** translate),be cool nothing bad will happen with you,but just keep posting here to make sure that you're okay )
191
Quote: Originally Posted by JEkvall95 ok btw what is that part for? Read here https://sampwiki.blast.hk/wiki/Strtok
71
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...
191
Delete this Код: strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new re...
71
Post here https://sampforum.blast.hk/showthread.php?tid=187229
50
Will call the function just once like this. Код: SetTimer("Advertise_Gen2", (00152), 0);
78
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);
62
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.
106
https://sampwiki.blast.hk/wiki/GetPlayerFacingAngle ?
115
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.
121
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?
106
What are you using for data base? What program..?
106
Код: 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...
177
Is not there the problem,post here OnPlayerSpawn
117
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...
124