SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Closed Thread
 
Thread Tools Display Modes
Old 28/05/2012, 02:04 AM   #2141
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default Re: Script Request Thread #5

hi guys i want simple buyable house script not a dynamic
__________________
t-wstriker is offline  
Old 28/05/2012, 05:33 AM   #2142
Verbal
Big Clucker
 
Join Date: May 2012
Location: Behind You
Posts: 81
Reputation: 3
Default Re: Script Request Thread #5

Quote:
Originally Posted by t-wstriker View Post
hi guys i want simple buyable house script not a dynamic
Use this:
http://forum.sa-mp.com/showthread.php?t=118379
__________________
Moved to another account - CptK.
Verbal is offline  
Old 28/05/2012, 05:45 AM   #2143
Fazzy
Little Clucker
 
Join Date: May 2012
Posts: 3
Reputation: 0
Default Re: Script Request Thread #5

Quote:
Originally Posted by Verbal View Post
You'll need to download zcmd and sscanf.
pawn Code:
CMD:v(playerid, params[])
{
    new
        carid,
        car,
        Float:pos[4];
    if (sscanf(params, "d", carid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF5959}[USAGE] {FFFFFF}/v [id]");
    if (carid < 400) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF5959}[ERROR] {FFFFFF}Car ID isn't valid.");
    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
    GetPlayerFacingAngle(playerid, pos[3]);
    car = CreateVehicle(carid, pos[0], pos[1], pos[2], pos[3], 0, 0, 999999);
    PutPlayerInVehicle(playerid, car, 0);
    return 1;
}
I'm new to scripting. I have zcmd and sscanf but when i try to compile it shows this message
warning 203: symbol is never used: "v" Can you please explain how to fix this
Fazzy is offline  
Old 28/05/2012, 08:19 AM   #2144
slobbann
Little Clucker
 
Join Date: Mar 2009
Posts: 17
Reputation: 0
Default Re: Script Request Thread #5

I want some script for clan security.
An admin should be able to create a clan and set a leader to it, and the leader should be able to use
a cmd to set permission for a username to wear a tag.
slobbann is offline  
Old 28/05/2012, 08:30 AM   #2145
tiernantheman
Huge Clucker
 
Join Date: Dec 2011
Location: United States
Posts: 397
Reputation: 66
Default Re: Script Request Thread #5

IF anybody has a good Angel Pine Roleplay gamemode or a Bone County PM me with a link thanks. I've already tried Vortex Roleplay so dont send a link to it.
tiernantheman is offline  
Old 28/05/2012, 11:06 AM   #2146
calin1996
Banned
 
Join Date: Oct 2011
Location: http://www.lcsnet.ro/billing/aff.php?aff=490
Posts: 178
Reputation: 0
Default Re: Script Request Thread #5

Quote:
Originally Posted by calin1996 View Post
Please can someone convert these commands into dialogs?? Login and register:
pawn Code:
if (strcmp(cmd, "/login", true) ==0 || strcmp(cmd, "/l", true) ==0)
    {
        if(IsPlayerConnected(playerid))
        {
            new tmppass[64];
            if(gPlayerLogged[playerid] == 1)
            {
                SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "SERVER: Esti deja logat.");
                return 1;
            }
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "UTILIZEAZA: (/l)ogin [parola]");
                return 1;
            }
            strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
            //Encrypt(tmppass);
            OnPlayerLogin(playerid,tmppass);
        }
        return 1;
    }

    //-----------Register---------------
    if (strcmp(cmd, "/pasaport", true) ==0 )
    {
        if(IsPlayerConnected(playerid))
        {
            if(gPlayerLogged[playerid] == 1)
            {
                SendClientMessage(playerid, COLOR_WHITE, "SERVER: Esti deja logat.");
                return 1;
            }
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "users/%s.ini", sendername);
            new File: hFile = fopen(string, io_read);
            if (hFile)
            {
                SendClientMessage(playerid, COLOR_YELLOW, "Acest nume exista in baza de date.");
                fclose(hFile);
                return 1;
            }
            new tmppass[64];
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "UTILIZEAZA: /pasaport [parola]");
                return 1;
            }
            strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
            //Encrypt(tmppass);
            OnPlayerRegister(playerid,tmppass);
        }
        return 1;
    }
Please,can someone help me?
I want this: Wheni type /bancomat ,to appear a DIALOG_LIST with item1 to be the conversion of the /bwithdraw, item2-> /bdeposit and item 3-> /bbalance
Like this
BAncomat:
Withdraw
Deposit
Balance
Select Exit
calin1996 is offline  
Old 28/05/2012, 01:30 PM   #2147
Verbal
Big Clucker
 
Join Date: May 2012
Location: Behind You
Posts: 81
Reputation: 3
Default Re: Script Request Thread #5

Quote:
Originally Posted by n00b_scripter View Post
well can some one give me a fs which saves the pos of a disconnecting player and when he reconnects he is at that location using YSI
http://pastebin.com/usSJ5pMk
I haven't tested it yet, so I'm not sure if it works properly.
__________________
Moved to another account - CptK.
Verbal is offline  
Old 28/05/2012, 01:46 PM   #2148
MechaTech
Big Clucker
 
MechaTech's Avatar
 
Join Date: Feb 2012
Location: Netherlands
Posts: 172
Reputation: 6
Default Re: Script Request Thread #5

Can someone script a trucker mission for me? just 1 so i can the other by myself.
__________________
Code:
Maps: Stunt World
FilterScripts: Advanced Weapon Shop
MechaTech is offline  
Old 28/05/2012, 01:57 PM   #2149
Nirzor
Gangsta
 
Nirzor's Avatar
 
Join Date: Feb 2012
Location: Bangladesh
Posts: 523
Reputation: 60
Default Re: Script Request Thread #5

ill get rep can some-one script 1 gang-zone in SF then ill rep him as much as i can my teams r USA Color is blue

and Russia color is red please some-one script 1 gang-zone for in sf plz
__________________
Our Gaming Community [UG] Gaming. Join my community today.
[UG] Gaming Forums : www.un-gaming.com

Looking for someone with an advanced TDM script , if you have one contact me on skype : emaz.ahmed7 ill put it on hosted tab.
Nirzor is offline  
Old 28/05/2012, 02:20 PM   #2150
the_zohan
Big Clucker
 
Join Date: Apr 2012
Posts: 123
Reputation: 1
Default Re: Script Request Thread #5

ok nizror i can help u gangzone make just wait
the_zohan is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Script Request Thread #3 clean180ollie Help Archive 836 05/01/2010 04:08 PM
Script Request Thread #2 Dol Help Archive 807 28/07/2009 09:09 AM
Script Request Thread kaisersouse Help Archive 1112 20/03/2009 11:15 AM


All times are GMT. The time now is 01:18 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.