Search Results
Hello, when player gets a playerinfo change like there is enum.
enum pInfo
{
pAdmin
}
Y_INI saves the data, file looks like this.
[data]
Admin = 0
I set it to 1, player gets admin, BUT THE ADMIN SAVES...
63
Oh you need a command? They're all in zcmd, here's one of them:
CMD:komandos(playerid, params[])
{
new BigString15[1900];
strcat(BigString15, "{0000FF}• {0000FF}/car [pavadinimas] [spalva1...
96
What code should I show? maybe it's the problem with this:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if (success)
{
new PID;
if(pLogin[playerid] == false)
Kick(...
96
Hello, I got very strange bug today, when I type any command, for example /skin, it shows SERVER:UNKNOWN COMMAND, but the command works! Any suggestions?
96
Uh-oh, I don't know what's the problem with this one.
new Float:Xtemp =floatmul (floatdiv(Drift_VAR[playerid]));
Error message:
(454) : error 035: argument type mismatch (argument 1)
Any ideas?
64
Hello, I need some kind of script that will not let player write message until he logs in, because now anyone can use /ban with admin's account. Any suggestions?
80
Now it keeps writing Atsiemėte 10 score ir ivygdete 1 milestone and keeps adding 10 score with all /milestone commands. I do not even need the money for it
145
Hello, I have a little bug with this system, any help would be appreciated.
Script:
#include <a_samp>
#include <zcmd>
new bool:Milestone1[MAX_PLAYERS];
new bool:Milestone2[MAX_PLAYERS];
n...
145
oopsie, didn't saw an error for those losse idenditations, one error:
D:\Documents and Settings\Administrator\Desktop\Sa-Mp Server\Drift Serveris\pawno\Login.pwn(215) : error 029: invalid expression, ...
110
Hello, straight to the problem, here's the script:
CMD:givescore(playerid, params[])
{
if (PlayerInfo[playerid][pPriz] >= 1)
{
new string[128], giveplayerid, score;
...
110
Ok, updated it to zcmd, here's the script:
#include <zcmd>
#include <a_samp>
#if defined FILTERSCRIPT
new bool:Milestones[MAX_PLAYERS];
public OnFilterScriptInit()
{
print("\n---------...
182
This is the script:
stock givescore(playerid, ammount)
{
new currentscore;
currentscore = GetPlayerScore(playerid);
SetPlayerScore(playerid, GetPlayerScore(playerid)+ammount);
}
new bool:M...
182