Search Results
Hey,
Currently I'm working on one of my favorite gamemodes but since around the 2 weeks, some Pickups does not appear in the map anymore.
Here my code:
Код:
stock CreateNewPickup(id, Float:x, F...
52
All my options + the reaction of iggy1?
165
Код:
CMD:cleardeathwindow(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
for(new i=1; i >= 20; i++)
{
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);...
165
I think you mean this: Just check if the player is not in a vehicle. Only then spawn the spike.. Or, is that not what you mean?
155
Lol'ed.
When a player die, and disconnect.
And another player spawns, with the same ID, the dialog of respawns comes.
You forgot to set the Fdie back to 0.
348
pawn Код:
stock GetEmptyVehicleSeat(vehicleid){ new bool:Seat[4]; for(new i;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) { if(IsPlayerInVe...
87
pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ return 1;}public OnPlayerSpawn(playerid){ return 1;}
85
GREAT!
LOL, Pastebin fail, look at the numbers. max 999 :P
2,240
I know, what you have, is the best way.
181
Or this:
pawn Код:
#include <a_samp>new bool:g_switch[MAX_PLAYERS];public OnPlayerConnect(playerid){ g_switch[playerid] = true; return true;}forward SwitchVar(playerid);public Swi...
181
He want to call the sendclientmessage only when the player is active (walking etc) and not faster then 1 second, i think this is the best way.
181
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ switch( dialogid ) { case DIALOG_REGISTER: { if (!response)...
100
No, it dont fix the ddos, it's a attack of services, you can't fix it with a simple kick. (Its not SAMP/GTA side)
166
Yo.
I was looking in my crashdetect file, and i saw lots of times this:
Quote:
gamemodes\RRP.amx: During execution of OnPlayerUpdate:
gamemodes\RRP.amx: Run time error 5: "Invalid memory ...
85
We can't do anything without a code.
Delete the command? (i think /newb or something)
109
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){ if(!IsPlayerAdmin(playerid) && vehicleid == [Vehicleid of the jet]) RemovePlayerFromVehicle(playerid); re...
72
You need to define (new cartimer[MAX_PLAYERS] on the top of your GM.
158