Search Results
Quote: Originally Posted by KyleSmith pawn Код: stock DisarmPlayer(playerid){ResetPlayerWeapons(playerid);} LOL! That's like pawn Код: stock GetPlayerID(playerid) return player...
68,136
Код: SetPlayerHealth(playerid, GetPlayerHealth(playerid)-20); To give a player 20 health less, so youDoSomethingWrong == true {I_Forgive_You_:P}
68,136
Hmm, looks like the positions are just messed. You can try to change the second value at TextDrawCreate to a bigger one, in some of your textdraws. The more this value is, the more your textdraw will ...
122
Do something with IsNumeric. Check if the password which that player gave contains number, and if not, return him to the password gui. Код: stock IsNumeric(const string[]) { for (new i = 0, j = s...
90
Do you have a screenshot of it?
122
Besides that, I do not recommend this to use. The goggles have a big problem in SA:MP: Once you activate them, their effect will be shown to all online players.
106
return means that your callback will be ended. Код: public OnPlayerConnect(playerid) { new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname));...
131
Hmm, I thought it needs to work. So I don't know the problem at the moment.
137
Код: public OnPlayerPickUpPickup(playerid, pickupid) { switch(pickupid) //We're checking the ID of the pickup { case Sniper: return GivePlayerWeapon(playerid, 34, 150); //If the pickupid == Sn...
137
And in your case its better to use a Switch, in stead of Else If. A switch is a lot faster. Код: switch(pickupid) { case Sniper: return GivePlayerWeapon(playerid, 34, 150); case M4: return Giv...
137
Quote: Originally Posted by [WsR RyDeR ] Delete the compiler and add a new one I did that already. Quote: Originally Posted by Seif_ Your script doesn't compile at all? Mayb...
159
I don't know, I was just scripting, and at the moment I wanted to compile it, I recieved this. And the previous weekend there was nothing wrong with compiling on this XP computer. Also, yesterday I wa...
159
Hi, I was just trying to compile my gamemode, but after pressing the compile button, I got the following: Quote: Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Usage: ...
159
You can't have a health from 5000, lol :P A full healthbar uses 100.0, not more. 136 will be the maximum, but with 100 your healthbar will be full. And you're using an integer at SetPlayerHealth, mayb...
88
Place your code from OnPlayerDeath into OnPlayerSpawn.
116
Quote: Originally Posted by dice7 The simplest way is ... No, that isn't what I wanted. That's exactly what I DIDN'T want. I think that's irritating after almost 20 includes with little...
94
So, I'm supposed to do this: ChocolateInclude pawn Код: public OnGameModeInit(){  //script  if (funcidx("Chocolate_OnGameModeInit") != -1)  {    return CallLocalFunction("Chocolate_OnGameMode...
94
But I saw enough includes (dunno which anymore) who does what I want. Код: //ChocolateInclude public OnGameModeInit() { //Code } #if defined ALS_OnGameModeInit undef OnGameModeInit //or somet...
94