Search Results
of course this, but nvm pawn Код: if(strcmp(cmd, "/admincmds", true) == 0 || strcmp(cmd, "/acmd", true) == 0)    {        if(IsPlayerConnected(playerid))        {            if (Pl...
196
errors: Код: D:\Games\GTA San Andreas\Raptor's Roleplay\gamemodes\rg.pwn(3869) : warning 217: loose indentation D:\Games\GTA San Andreas\Raptor's Roleplay\gamemodes\rg.pwn(3959) : warning 217: loo...
196
pawn Код: if(strcmp(cmd, "/admincmds", true) == 0 || strcmp(cmd, "/acmd", true) == 0)    {        if(IsPlayerConnected(playerid))        {            if (PlayerInfo[playerid][pAdmi...
196
Ok i'm having a problem with strings, i reached the limit but i need to put more words into the string! So, my question is: How to cut a string in two lines and simply put it under the first one? paw...
85
pawn Код: if(strcmp(cmd, "/usedrugs", true) == 0) // Drug system    {        if(IsPlayerConnected(playerid))        {            if(UsingDrugs[playerid] == 1)            {  ...
171
hmm, i set every single command to return 1 at the end, but still nothing
171
every command has to return something?
171
Hello, i have a BIG problem with my script! Every time when i enter a command, no matter which command it says SERVER: Unknown Command! No commands are working I set the return to 1 at the end of OnP...
171
thanks it helped, but have a new problem with this same script... how to check if the player entered a vehicle? i tried: pawn Код: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){  ...
78
Hi, So i made a script for my RPG/DM server, the script is working fine, but the timer buggs a little. pawn Код: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){    new playerStat...
78
here got it... pawn Код: public OnPlayerEnterCheckpoint(playerid){    if(IsPlayerInVehicle(playerid,428))    {        if(IsPlayerInRangeOfPoint(playerid, 3.0, 844.5125,-1044.1566,25.4438))...
64
OnPlayerCommandText or OnPlayerEnterVehicle or OnPlayerKeyStateChange? whats the function? maybe i can script this little job for you
64
oh come on...... i need it rly.....
161
somebody? i need it quick!
161
Quote: Originally Posted by funky1234 Show us OnPlayerEnterVehicle pawn Код: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){    new string[128];    for(new i=0; i...
161
Quote: Originally Posted by funky1234 Ensure you return 1 in OnPlayerEnterVehicle (callback) it is other suggestions?
161
Well thanks it worked, and now i can run my script again... But now i have a new problem! Every time when i enter any command, it says SERVER: Unknown Command and doesn't even execute the command. Wha...
161