Weird timer-parameter
#7

You just set the parameter name to SOMETHINGRANDOM. Parameters names can be anything, i.e:
pawn Код:
InsultPlayer(thatDickwad) {
    return SendClientMessage(thatDickwad, -1, "You suck");
}
// (...)
InsultPlayer(playerid);
Just as you can create any variable with any name, think of parameters as local variables to the function. Names don't matter, just keep them readable.
Reply


Messages In This Thread
Weird timer-parameter - by eSPeZet - 06.08.2017, 01:24
Re: Weird timer-parameter - by NewFreeroamStunt - 06.08.2017, 01:41
Re: Weird timer-parameter - by eSPeZet - 06.08.2017, 01:53
Re: Weird timer-parameter - by ISmokezU - 06.08.2017, 02:31
Re: Weird timer-parameter - by eSPeZet - 06.08.2017, 02:38
Re: Weird timer-parameter - by eSPeZet - 06.08.2017, 21:18
Re: Weird timer-parameter - by Misiur - 06.08.2017, 21:22
Re: Weird timer-parameter - by Misiur - 06.08.2017, 21:27
Respuesta: Weird timer-parameter - by ThiagoMikael - 06.08.2017, 21:28
Re: Weird timer-parameter - by eSPeZet - 06.08.2017, 21:33
Re: Weird timer-parameter - by Kane - 06.08.2017, 21:51
Re: Weird timer-parameter - by Misiur - 06.08.2017, 21:53
Re: Weird timer-parameter - by Nehe - 06.08.2017, 21:53
Re: Weird timer-parameter - by eSPeZet - 06.08.2017, 21:57
Re: Weird timer-parameter - by BlackBank - 06.08.2017, 23:46
Re: Weird timer-parameter - by eSPeZet - 07.08.2017, 01:43

Forum Jump:


Users browsing this thread: 4 Guest(s)