[Include] bLibrary(22 functions and 1 custom callback)
#4

pawn Код:
if(!strcmp(cmdtext, "/killall", true))
    {
        KillAll;
        return 1;
       
    }
if(!strcmp(cmdtext, "/vehiclename", true))
    {
        new vehicle = GetVehicleNameByModel(432);
        new string[125];
        format(string, sizeof(string), "You are currently sitting in a %s", vehicle);
        SendClientMessage(playerid, -1, string);
        return 1;
       
    }
Bad examples..
Function can't be writen like that(KickAll. You must use brackets ().
As for the vehicle name, you're storring it's name in to an integer.
Reply


Messages In This Thread
bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 01.03.2012, 13:30
Re: bLibrary(22 functions and 1 custom callback) - by Littlehelper - 01.03.2012, 14:11
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 01.03.2012, 14:18
Re: bLibrary(22 functions and 1 custom callback) - by wups - 01.03.2012, 14:38
Re: bLibrary(22 functions and 1 custom callback) - by Psymetrix - 01.03.2012, 14:43
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 01.03.2012, 15:05
Re: bLibrary(22 functions and 1 custom callback) - by Aldo. - 01.03.2012, 15:09
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 01.03.2012, 15:19
Re: bLibrary(22 functions and 1 custom callback) - by Psymetrix - 01.03.2012, 15:30
Re: bLibrary(22 functions and 1 custom callback) - by iTorran - 01.03.2012, 15:32
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 01.03.2012, 15:38
Re: bLibrary(22 functions and 1 custom callback) - by Psymetrix - 01.03.2012, 15:38
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 01.03.2012, 15:45
Re: bLibrary(22 functions and 1 custom callback) - by xkirill - 01.03.2012, 19:17
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 02.03.2012, 13:21
Re: bLibrary(22 functions and 1 custom callback) - by iTorran - 02.03.2012, 15:12
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 02.03.2012, 16:14
Re: bLibrary(22 functions and 1 custom callback) - by [HK]Ryder[AN] - 03.03.2012, 15:30
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 04.03.2012, 05:23
Re: bLibrary(22 functions and 1 custom callback) - by Niko_boy - 06.03.2012, 08:25
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 06.03.2012, 13:06
Re: bLibrary(22 functions and 1 custom callback) - by VincentDunn - 09.03.2012, 04:04
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 09.03.2012, 04:07
Re: bLibrary(22 functions and 1 custom callback) - by Mr.Fames - 26.04.2012, 16:46
Re: bLibrary(22 functions and 1 custom callback) - by Jonny5 - 26.04.2012, 17:21
Re: bLibrary(22 functions and 1 custom callback) - by Marko Koprivanac - 26.04.2012, 17:46
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 27.04.2012, 03:20
Re: bLibrary(22 functions and 1 custom callback) - by ninjahippie - 27.04.2012, 07:55
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 27.04.2012, 08:03
Re: bLibrary(22 functions and 1 custom callback) - by FalconX - 01.05.2012, 19:28
Re: bLibrary(22 functions and 1 custom callback) - by king_hual - 01.05.2012, 22:50
Re: bLibrary(22 functions and 1 custom callback) - by Ballu Miaa - 02.05.2012, 02:07

Forum Jump:


Users browsing this thread: 9 Guest(s)