Search Results
Quote: Originally Posted by Eoussama Just print the newkeys value? PHP код: public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {     printf("newkeys: %d", newkeys);...
89
Hey all. I would like to create log, that show which keys player pressing. I know one way how to create it: Код: if(newkeys == KEY_WALK) { //LOG CODE } But maybe it is other way to create it easie...
89
I dont know why, but my timer working too fast. I used printf to check, how it works. Timer must check every 1 second and if player is in same position, system should add AFKTIME 1 every second. When ...
47
Other textdraws: p1usebox1, p1usebox2 etc. also created like PLAYER_1_CARD1 ( not for player ) but they works.
88
Hey. I have code, that show for player textdraws Код: TextDrawShowForPlayer(playerid,PLAYER_1_CARD1); TextDrawShowForPlayer(playerid,PLAYER_1_CARD2); TextDrawShowForPlayer(playerid, p1usebox1); ...
88
Hey. I have code: Код: new Random = random(MAX_HPSPAWNS); objid=CreateObject(19315 ,Spawns[Random][cX],Spawns[Random][cY],Spawns[Random][cZ],0.0000000,0.0000000,0.9866943); Now I need to move th...
54
I need to check online and offline.
143
Hi. I need system, that choose one player, who have highest online score ( pInfo[playerid][score] ) and give them money. How to choose that one player from mysql? I know, that it is possible to do wit...
143
Hi. How to get time left from timer? I need to get time, that left to end of this timer. My timer: Код: SetTimerEx("eventend", 1000*60*10, false,"");
62
Hello. How to create pickup after player death in that position, where player died? I know how to get players position, but whats next? I need to create pickups after every death. Also I need, that wh...
93
Hi all. I have code, that insert into mysql information about buyed houses. But sometimes it does not insert ( 1 of 50 not insert ). I really dont know why.. If it possible to check if information is ...
82
After OnPlayerConnet I should write this code to reset values? Код: playerIdlePositions[playerid] = playerIdlePositions[MAX_PLAYERS]; How about this line, because after OnPlayerConnet you writed ...
250
Hey man, it works great, but I have one question. Код: new playerIdlePositions[MAX_PLAYERS+1][COORDINATION]; Why here MAX_PLAYERS+1? What means that +1?
250
I have code, that checks player position. If player after 30 sec in the same position, the text is appears. How to do, that if player after 30 sec. went away for 1-2 meters also got that text? I tried...
250
I tried to restart server a few times, and all time in log I got: CarCheck for NULL CarCheck2 (Deletion) for NULL As I understand, code does not delete any car now.
192
Ou.. I see that mistake with Name and name, but it my ,,editions''. In original code that line is with small n: Код: format( msg,sizeof( msg ),"DELETE FROM `cars` WHERE Name = '%s'",name); And s...
192
Ok... But I still do not understand, when code delete the car, when not. What is code checking? For example, there are 10 cars created in database. Which will be deleted?
192